Skip to content

Add DVWA lab with shared Kali desktop - #3

Merged
ahcodedev merged 1 commit into
mainfrom
dvwa-lab
Nov 11, 2026
Merged

ahcodedev merged 1 commit into
mainfrom
dvwa-lab

Conversation

@ahcodedev

@ahcodedev ahcodedev commented Nov 11, 2026 •

Copy link
Copy Markdown
Owner

Summary

Adds a DVWA lab next to the Juice Shop lab, and moves the Kali desktop out of owasp_juiceshop/ so both labs share it.

  • dvwa/compose.yaml: DVWA and its MariaDB database, both only on the internal lab network.
  • kali/: the Kali build moved here from owasp_juiceshop/kali, plus a compose.yaml with the desktop, gateway, networks and home volume. Each lab includes it.
  • justfile: new just dvwa-up / just dvwa-down. Labs share port 6080, so starting one stops the other.
  • The Kali image is now tagged lab-kali and the home volume is named kali-home, so both labs reuse them.

Testing

Ran both labs locally on arm64:

  • just dvwa-up: from the Kali container, DVWA database setup, admin / password login and the home page all work.
  • just juice-shop-up while DVWA was running: DVWA stopped, Juice Shop started and returned HTTP 200 from Kali, with a single auto-off timer.
  • Kali and DVWA have no internet access; the noVNC page loads on 127.0.0.1:6080 in both labs.
  • gitleaks pre-commit hook passed.

Move the Kali build to a top-level kali/ directory with its own compose file that each lab includes, and add a DVWA lab alongside Juice Shop. Only one lab runs at a time.
@ahcodedev
ahcodedev merged commit 59d2903 into main Nov 11, 2026
2 checks passed
@ahcodedev
ahcodedev deleted the dvwa-lab branch November 11, 2026 05:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant